<?php
/**
 * Created by PhpStorm.
 * User: ysk
 * Date: 2021/6/18
 * Time: 17:30
 */


namespace  api\modules\v1\test\actions\Test;

use api\base\BaseApiAction;


/**
 * @SWG\Post(
 *      tags={"test"},
 *      path="/test/test",
 *      summary="test",description="test",
 *      @SWG\Parameter(name="id",in="formData",description="ID",type="string",default="",required=true),
 *      @SWG\Parameter(name="sex",in="formData",description="SEX",type="integer",default="",required=true),
 *      @SWG\Response(
 *          response=200,
 *          description="OK",
 *          @SWG\Schema(
 *              @SWG\Property(
 *                  property="data",
 *                  @SWG\Property(property="id",type="string",description="id",),
 *              )
 *      )
 * )
 * )
 * @return \api\base\ResponseApi
 *
 */

class TestAction extends BaseApiAction{

    public function run(TestParams $params){

        return  parent::respondSuccess([$params->id],'hhah');
    }




}
